# -*- coding: utf-8 -*-
import datetime, re

from peewee import *
from basemodel import BaseModel


class Reader(BaseModel):
    title = CharField(max_length=50, null=False)
    description = CharField(max_length=200)
    icon_name = CharField(max_length=100, null=True)
    icon_url = CharField(max_length=500, null=True)
    media_type = BooleanField()
    media_url = CharField(max_length=500)
    create_time = DateTimeField()

